package net.yunxinyong.cec.entity;

import net.yunxinyong.cec.utils.DateUtil;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

public class Cec711OneEntity {
    private Integer id;

    private Integer baseId;

    private BigDecimal beginInventory;

    private BigDecimal finalInventory;

    private BigDecimal fixedAssets;

    private BigDecimal depreciation;

    private BigDecimal constructionProject;

    private BigDecimal intangibleAssets;

    private BigDecimal totalAssets;

    private BigDecimal totalLiabilities;

    private BigDecimal businessIncome;

    private BigDecimal operatingCost;

    private BigDecimal taxAdditional;

    private BigDecimal sellingExpenses;

    private BigDecimal managementCost;

    private BigDecimal financialCost;

    private BigDecimal investmentIncome;

    private BigDecimal operatingProfit;

    private BigDecimal totalProfit;

    private BigDecimal totalRemuneration;

    private BigDecimal totalTax;

    private Integer finalEmployeesNumber;

    private Integer femaleNumber;

    private Integer averageEmployeesNumber;

    private BigDecimal totalWages;

    private Integer reason;

    private String upOrganizationCode;

    private String upSocialCreditCode;

    private String upUnitDetailedName;

    private BigDecimal commodityPurchase;

    private BigDecimal commoditySales;

    private BigDecimal retailSales;

    private BigDecimal finalCommodityStock;

    private BigDecimal serviceTurnover;

    private BigDecimal turnover;

    private BigDecimal roomIncome;

    private BigDecimal mealIncome;

    private BigDecimal eBusinessProcurement;

    private BigDecimal eBusinessSales;

    private BigDecimal nonSelfEmployedPlatform;

    private String unitHead;

    private String statisticalControlOfficer;

    private String fillFormBy;

    private String phone;

    private Integer state;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date updateTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date createTime;
    private Integer status;
    //格式化后的表更新日期
    private String newupdateTime;
    //格式化后的表创建日期
    private String newcreateTime;

    public String getNewupdateTime() {
        return DateUtil.formatDateToStr(this.updateTime);
    }

    public void setNewupdateTime(String newupdateTime) {
        this.newupdateTime = newupdateTime;
    }

    public String getNewcreateTime() {
        return DateUtil.formatDateToStr(this.createTime);
    }

    public void setNewcreateTime(String newcreateTime) {
        this.newcreateTime = newcreateTime;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getBaseId() {
        return baseId;
    }

    public void setBaseId(Integer baseId) {
        this.baseId = baseId;
    }

    public BigDecimal getBeginInventory() {
        return beginInventory;
    }

    public void setBeginInventory(BigDecimal beginInventory) {
        this.beginInventory = beginInventory;
    }

    public BigDecimal getFinalInventory() {
        return finalInventory;
    }

    public void setFinalInventory(BigDecimal finalInventory) {
        this.finalInventory = finalInventory;
    }

    public BigDecimal getFixedAssets() {
        return fixedAssets;
    }

    public void setFixedAssets(BigDecimal fixedAssets) {
        this.fixedAssets = fixedAssets;
    }

    public BigDecimal getDepreciation() {
        return depreciation;
    }

    public void setDepreciation(BigDecimal depreciation) {
        this.depreciation = depreciation;
    }

    public BigDecimal getConstructionProject() {
        return constructionProject;
    }

    public void setConstructionProject(BigDecimal constructionProject) {
        this.constructionProject = constructionProject;
    }

    public BigDecimal getIntangibleAssets() {
        return intangibleAssets;
    }

    public void setIntangibleAssets(BigDecimal intangibleAssets) {
        this.intangibleAssets = intangibleAssets;
    }

    public BigDecimal getTotalAssets() {
        return totalAssets;
    }

    public void setTotalAssets(BigDecimal totalAssets) {
        this.totalAssets = totalAssets;
    }

    public BigDecimal getTotalLiabilities() {
        return totalLiabilities;
    }

    public void setTotalLiabilities(BigDecimal totalLiabilities) {
        this.totalLiabilities = totalLiabilities;
    }

    public BigDecimal getBusinessIncome() {
        return businessIncome;
    }

    public void setBusinessIncome(BigDecimal businessIncome) {
        this.businessIncome = businessIncome;
    }

    public BigDecimal getOperatingCost() {
        return operatingCost;
    }

    public void setOperatingCost(BigDecimal operatingCost) {
        this.operatingCost = operatingCost;
    }

    public BigDecimal getTaxAdditional() {
        return taxAdditional;
    }

    public void setTaxAdditional(BigDecimal taxAdditional) {
        this.taxAdditional = taxAdditional;
    }

    public BigDecimal getSellingExpenses() {
        return sellingExpenses;
    }

    public void setSellingExpenses(BigDecimal sellingExpenses) {
        this.sellingExpenses = sellingExpenses;
    }

    public BigDecimal getManagementCost() {
        return managementCost;
    }

    public void setManagementCost(BigDecimal managementCost) {
        this.managementCost = managementCost;
    }

    public BigDecimal getFinancialCost() {
        return financialCost;
    }

    public void setFinancialCost(BigDecimal financialCost) {
        this.financialCost = financialCost;
    }

    public BigDecimal getInvestmentIncome() {
        return investmentIncome;
    }

    public void setInvestmentIncome(BigDecimal investmentIncome) {
        this.investmentIncome = investmentIncome;
    }

    public BigDecimal getOperatingProfit() {
        return operatingProfit;
    }

    public void setOperatingProfit(BigDecimal operatingProfit) {
        this.operatingProfit = operatingProfit;
    }

    public BigDecimal getTotalProfit() {
        return totalProfit;
    }

    public void setTotalProfit(BigDecimal totalProfit) {
        this.totalProfit = totalProfit;
    }

    public BigDecimal getTotalRemuneration() {
        return totalRemuneration;
    }

    public void setTotalRemuneration(BigDecimal totalRemuneration) {
        this.totalRemuneration = totalRemuneration;
    }

    public BigDecimal getTotalTax() {
        return totalTax;
    }

    public void setTotalTax(BigDecimal totalTax) {
        this.totalTax = totalTax;
    }

    public Integer getFinalEmployeesNumber() {
        return finalEmployeesNumber;
    }

    public void setFinalEmployeesNumber(Integer finalEmployeesNumber) {
        this.finalEmployeesNumber = finalEmployeesNumber;
    }

    public Integer getFemaleNumber() {
        return femaleNumber;
    }

    public void setFemaleNumber(Integer femaleNumber) {
        this.femaleNumber = femaleNumber;
    }

    public Integer getAverageEmployeesNumber() {
        return averageEmployeesNumber;
    }

    public void setAverageEmployeesNumber(Integer averageEmployeesNumber) {
        this.averageEmployeesNumber = averageEmployeesNumber;
    }

    public BigDecimal getTotalWages() {
        return totalWages;
    }

    public void setTotalWages(BigDecimal totalWages) {
        this.totalWages = totalWages;
    }

    public Integer getReason() {
        return reason;
    }

    public void setReason(Integer reason) {
        this.reason = reason;
    }

    public String getUpOrganizationCode() {
        return upOrganizationCode;
    }

    public void setUpOrganizationCode(String upOrganizationCode) {
        this.upOrganizationCode = upOrganizationCode == null ? null : upOrganizationCode.trim();
    }

    public String getUpSocialCreditCode() {
        return upSocialCreditCode;
    }

    public void setUpSocialCreditCode(String upSocialCreditCode) {
        this.upSocialCreditCode = upSocialCreditCode == null ? null : upSocialCreditCode.trim();
    }

    public String getUpUnitDetailedName() {
        return upUnitDetailedName;
    }

    public void setUpUnitDetailedName(String upUnitDetailedName) {
        this.upUnitDetailedName = upUnitDetailedName == null ? null : upUnitDetailedName.trim();
    }

    public BigDecimal getCommodityPurchase() {
        return commodityPurchase;
    }

    public void setCommodityPurchase(BigDecimal commodityPurchase) {
        this.commodityPurchase = commodityPurchase;
    }

    public BigDecimal getCommoditySales() {
        return commoditySales;
    }

    public void setCommoditySales(BigDecimal commoditySales) {
        this.commoditySales = commoditySales;
    }

    public BigDecimal getRetailSales() {
        return retailSales;
    }

    public void setRetailSales(BigDecimal retailSales) {
        this.retailSales = retailSales;
    }

    public BigDecimal getFinalCommodityStock() {
        return finalCommodityStock;
    }

    public void setFinalCommodityStock(BigDecimal finalCommodityStock) {
        this.finalCommodityStock = finalCommodityStock;
    }

    public BigDecimal getServiceTurnover() {
        return serviceTurnover;
    }

    public void setServiceTurnover(BigDecimal serviceTurnover) {
        this.serviceTurnover = serviceTurnover;
    }

    public BigDecimal getTurnover() {
        return turnover;
    }

    public void setTurnover(BigDecimal turnover) {
        this.turnover = turnover;
    }

    public BigDecimal getRoomIncome() {
        return roomIncome;
    }

    public void setRoomIncome(BigDecimal roomIncome) {
        this.roomIncome = roomIncome;
    }

    public BigDecimal getMealIncome() {
        return mealIncome;
    }

    public void setMealIncome(BigDecimal mealIncome) {
        this.mealIncome = mealIncome;
    }

    public BigDecimal geteBusinessProcurement() {
        return eBusinessProcurement;
    }

    public void seteBusinessProcurement(BigDecimal eBusinessProcurement) {
        this.eBusinessProcurement = eBusinessProcurement;
    }

    public BigDecimal geteBusinessSales() {
        return eBusinessSales;
    }

    public void seteBusinessSales(BigDecimal eBusinessSales) {
        this.eBusinessSales = eBusinessSales;
    }

    public BigDecimal getNonSelfEmployedPlatform() {
        return nonSelfEmployedPlatform;
    }

    public void setNonSelfEmployedPlatform(BigDecimal nonSelfEmployedPlatform) {
        this.nonSelfEmployedPlatform = nonSelfEmployedPlatform;
    }

    public String getUnitHead() {
        return unitHead;
    }

    public void setUnitHead(String unitHead) {
        this.unitHead = unitHead == null ? null : unitHead.trim();
    }

    public String getStatisticalControlOfficer() {
        return statisticalControlOfficer;
    }

    public void setStatisticalControlOfficer(String statisticalControlOfficer) {
        this.statisticalControlOfficer = statisticalControlOfficer == null ? null : statisticalControlOfficer.trim();
    }

    public String getFillFormBy() {
        return fillFormBy;
    }

    public void setFillFormBy(String fillFormBy) {
        this.fillFormBy = fillFormBy == null ? null : fillFormBy.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}